From: Lars Ingebrigtsen Date: Sun, 23 Jan 2022 12:43:53 +0000 (+0100) Subject: Revert the other bits related to `load-read-file' X-Git-Tag: archive/raspbian/1%29.2+1-2+rpi1^2~5^2~16^2~3281 X-Git-Url: https://dgit.raspbian.org/%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:///%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:/?a=commitdiff_plain;h=ab73a8785834782ef3a05677dada0c466b926cb0;p=emacs.git Revert the other bits related to `load-read-file' * src/lread.c (syms_of_lread): Revert the other bits related to reverting `byte-compile-from-buffer'/`load-read-file'. --- diff --git a/etc/NEWS b/etc/NEWS index 5297db3e2d5..e641eeaa50a 100644 --- a/etc/NEWS +++ b/etc/NEWS @@ -878,10 +878,6 @@ Emacs buffers, like indentation and the like. The new ert function * Incompatible Lisp Changes in Emacs 29.1 ---- -** 'byte-compile-from-buffer' now uses 'load-read-function'. -It previously called 'read' directly. - ** User option 'mail-source-ignore-errors' is now obsolete. The whole mechanism for prompting users to continue in case of mail-source errors has been removed, so this option is no longer diff --git a/src/lread.c b/src/lread.c index 77b5b65e102..d868801f42c 100644 --- a/src/lread.c +++ b/src/lread.c @@ -5316,7 +5316,7 @@ of the file, regardless of whether or not it has the `.elc' extension. */); DEFVAR_LISP ("load-read-function", Vload_read_function, doc: /* Function used for reading expressions. -It is used by `load', `eval-region' and `byte-compile-from-buffer'. +It is used by `load' and `eval-region'. Called with a single argument (the stream from which to read). The default is to use the function `read'. */);